<template>
    <div class="label-wrapper">
        <LabelCategory @set-sctive-category="setActiveCategory"></LabelCategory>
        <LabelTree :activeCategory="activeCategory"></LabelTree>
    </div>
</template>
<script setup lang="ts">
import LabelCategory from './components/LabelCategory.vue';
import LabelTree from './components/LabelTree.vue';
const activeCategory = ref<string>();
const setActiveCategory = (categoryId: string) => {
    activeCategory.value = categoryId;
};
</script>
<style scoped lang="scss">
.label-wrapper {
    display: flex;
    justify-content: space-between;
}
</style>
